﻿using Microsoft.Extensions.DependencyInjection;

namespace Tszy.Unlimited.Base.Infrastructure.Stores;

/// <summary>
/// 
/// </summary>
public static class ScopeStoreServiceCollectionExtensions
{
    /// <summary>
    /// 
    /// </summary>
    /// <param name="services"></param>
    /// <returns></returns>
    public static IServiceCollection RegisterScopeStore(this IServiceCollection services)
    {
        services.AddScoped<IScopeStore, DefaultScopeStore>();

        return services;
    }
}